package com.cloudmusic.api.service;

import com.cloudmusic.api.dto.AlbumDto;
import com.cloudmusic.api.dto.SongDto;
import com.cloudmusic.api.entity.Album;
import com.cloudmusic.api.entity.Singer;
import com.cloudmusic.api.entity.SongList;
import com.cloudmusic.api.entity.User;

import java.util.List;

/**
 * @ description:
 * @ date:      2020/10/13
 * @ time:      14:57
 * @ author:    Zhang wei
 * @ since:     1.0.0
 */
public interface SearchService {
    List<SongDto> getSongsByName(String keyword,int size);

    List<SongList> getSongListsByName(String searchKeyword,int size);

    List<Singer> getSingersByName(String searchKeyword,int size);

    List<AlbumDto> getAlbumsByName(String searchKeyword,int size);

    List<User> getUsersByName(String searchKeyword,int size);
}
